<html>
    <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <style type="text/css">
        body { margin: 0; padding: 0; width: 100%; height: 100%; }
        .dialog_overlay {
            position: fixed;
            top: 0px;
            left: 0px;
            z-index: 1000;
            background-color: #000;
            opacity: 0.5;
            width: 100%;
            height: 100%;
        }
        .dialog_container {
            position: absolute;
            z-index: 1001;
            background-color: #FFF;
            border: solid 2px #666;
        }
        .dialog_header {
            background-color: #FFE;
            border-bottom: dotted 1px #CCC;
            margin: 2px;
        }
        .dialog_header a {
            color: #333;
            text-decoration: none;
        }
        .dialog_title, .dialog_close {
            font-size: 14px;
            font-weight: bold;
            width: 50%;
            float: left;
        }
        .dialog_close {
            text-align: right;
        }
        .dialog_content {
            margin: 15px;
        }
    </style>
    </head>
    <body>
        <h1>hello</h1>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="dialog.js"></script>
<script type="text/javascript">
    Dialog.open({width: 800,
                 height: 500,
                 title: 'Sample',
                 content: function(dom){ $(dom).html('Sampleだよ'); }});
</script>
</body>
</html>
